﻿using System.Xml.Serialization;

namespace HamcoWcs.Models.TibcoMessage
{

    [XmlRoot("MESSAGE")]
    public class PalletTransportJobStartedByAGVMessage : BaseTibcoMessage<PalletTransportJobStartedByAGVMessageBody>
    {
        public PalletTransportJobStartedByAGVMessage()
        {

        }
        public PalletTransportJobStartedByAGVMessage(PalletTransportJobStartedByAGVMessageBody body, string inboxName = "", string listener = "") : base("PalletTransportJobStartedByAGV", body, inboxName, listener)
        {
        }
    }


    public class PalletTransportJobStartedByAGVMessageBody : PalletTransportJobStartedMessageBody
    {
        public PalletTransportJobStartedByAGVMessageBody()
        {
        }


        [XmlElement("SOURCEMACHINENAME")]
        public string SourceMachineName { get; set; }
        [XmlElement("SOURCEPOSITIONTYPE")]
        public string SourcePositionType { get; set; }
        [XmlElement("SOURCEPOSITIONNAME")]
        public string SourcePositionName { get; set; }
        [XmlElement("SOURCEZONENAME")]
        public string SourceZoneName { get; set; }
        [XmlElement("DESTINATIONMACHINENAME")]
        public string DestinationMachineName { get; set; }
        [XmlElement("DESTINATIONPOSITIONTYPE")]
        public string DestinationPositionType { get; set; }
        [XmlElement("DESTINATIONPOSITIONNAME")]
        public string DestinationPositionName { get; set; }
        [XmlElement("DESTINATIONZONENAME")]
        public string DestinationZoneName { get; set; }
        [XmlElement("PRIORITY")]
        public string Priority { get; set; }
    }
}
